import { BaseEntity } from "src/baseEntity";
import { UserSys } from "src/user/userSys.entity";
import { Column, Entity, ManyToOne } from "typeorm";



@Entity("criticize")
export class Criticize extends BaseEntity {
    @ManyToOne(() => UserSys)
    user: UserSys

    @Column({ type: "longtext" })
    context: string
}